import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

class ErrorPage extends StatelessWidget {
  final GoException error;
  const ErrorPage(this.error, {super.key});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: Text('404 ${error.message}'),
    );
  }
}